 <van-overlay show="{{ show }}"  class="shadow" lock-scroll="true">
        <view class="from">
            <view class="title">{{windowSwitch==1?'用户授权':windowSwitch==2?'注册':windowSwitch==3?'拒绝':""}}</view>
            <view qq:if="{{windowSwitch == 1}}">
                <van-cell-group>
                    <van-field
                        value="{{ key }}"
                        placeholder="请输入密钥"
                        border="{{ false }}"
                        bind:change="onChange"
                        label="密钥 :"
                        custom-style="margin-top: 50rpx;"
                    />
                </van-cell-group>
                <van-button type="primary" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo" class="fromButton" withCredentials='true'>确认</van-button>
                <view class="controlNumber" bindtap='isControlNumber'>{{controlNumber?"切换自身账号":"切换控号模式"}}</view>
            </view>
            <view qq:elif="{{windowSwitch == 2}}">
                <van-cell-group  >
                    <van-field
                        bind:input="getFromValue"
                        label="游戏名"
                        placeholder="请输入游戏名"
                        error-message="游戏名不能为空"
                        border="{{ false }}"
                    />
                    <van-field
                        value="{{alliance }}"
                        placeholder="请输入联盟"
                        border="{{ false }}"
                        label="所属联盟"
                        disabled
                    />
                </van-cell-group>
                <van-button type="primary" class="fromButton" bind:click="onClickHide" open-type="getUserInfo">确认</van-button>
            </view>
             <view qq:elif="{{windowSwitch == 3}}" class="refuseWindow">
                <view class="refuse">你已被拒绝访问</view>
            </view>
        </view>
        <van-toast id="van-toast" />
        <van-notify id="van-notify" />
    </van-overlay>